package com.primaryedu.ui.app.nicedialog;

/**
 * Created by Administrator on 2018/9/12.
 */

public class DialogCallBackUtils {
    private static DialogSureCallBack mCallBack;

    public static void setCallBack(DialogSureCallBack callBack) {
        mCallBack = callBack;
    }

    public static void doCallBackMethod(String type, BaseNiceDialog dialog){
            mCallBack.SureClick(type, dialog);
    }


    public static void doCallBackChche(String type, BaseNiceDialog dialog){
        mCallBack.SureClick(type, dialog);
    }

    public static void doCallBackAdvice(String type, BaseNiceDialog dialog){
        mCallBack.SureClick(type, dialog);
    }
}
